using System;

namespace PPI.Entities.Lookup
{
	[Serializable]
	public class EXMissionStructures_PoleTopType : ELookupBase
	{
        public Int32 ServerId { get; set; }

		public EXMissionStructures_PoleTopType()
		    :base()
        {
            Id = Int32.MinValue;
            ServerId = Int32.MinValue;
		}


		public EXMissionStructures_PoleTopType(Int32 xMissionStructures_PoleTopTypeId)
			: base(xMissionStructures_PoleTopTypeId)
		{
		}


        public EXMissionStructures_PoleTopType(Int32 xMissionStructures_PoleTopTypeId, string name)
            : base(xMissionStructures_PoleTopTypeId,name)
        {

        }

        public override bool Equals(object obj)
        {
            if (obj is EXMissionStructures_PoleTopType)
            {
                EXMissionStructures_PoleTopType tmpObj = (EXMissionStructures_PoleTopType)obj;

                return (Id.ToString().Equals(tmpObj.Key));
            }

            return base.Equals(obj);
        }
	}
}

